from django.conf import settings
from django.db.models import Avg, Sum, Count, Max, Min, Q, F
from django.db.models import Value
from django.db.models import IntegerField as intf
from django.forms.models import model_to_dict

from rest_framework import serializers
from rest_framework.serializers import *
from rest_framework.validators import UniqueValidator, UniqueTogetherValidator  # 验证器


class NoneSerializer(serializers.Serializer):
    """无序列化"""

    class Meta:
        fields = "__all__"
